#!/bin/bash
echo "qing shu ru wen jian:"
read aa
echo "qing shu ru mu biao:"
read bb
DATE=`date +%Y%m%d%H%M`
TESTNAME=test
if [ -f ${bb}/${TESTNAME}${DATE}.tar.gz ];then
echo "yi cun zai"
else
tar -Pczpvf ${bb}/${TESTNAME}${DATE}.tar.gz ${aa}
fi
